package com.yoso.shop.interfaces.vo.commodity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Builder;
import lombok.Data;

import java.util.List;

/**
 * @author yoso
 * @date 2022/2/21
 * 该类属性名与vue脚手架中所需字段一致
 * 若不一致，需在前端添加映射配置
 */
@Data
@Builder
@ApiModel("商品分类级联下拉项")
public class CommodityClassifySelectVo {
    @ApiModelProperty("主分类编号")
    private String value;
    @ApiModelProperty("主分类名称")
    private String label;
    @ApiModelProperty("次分类项")
    private List<CommodityClassifySelectVo> children;
}
